It converts sunlight into energy. In the darkness after sunset, it closes its petals and becomes still.