An automatic gate opens and closes by itself.