How fireplace work?

well some u can just hit a a switch n it turn

on. Other u have to put in paper or go to the store n buy some wood or u can just good get some from a tree hey it free that what make it batter n u put it in the fire place n u get something 2 light it with n that how it work.