How everything first started out is (at this time, for us) unclear, but it probably involved some parts/type of energy increasing, upon meeting a multichemical reaction, coupled with a possible temperature flux, & light may very well have been involved. Sometime thereafter, life was achieved...