The purpose of a flying school is to teach students how to fly.  This could be towards gaining a Private Pilots Licence (PPL) or taking your passion for flying that step further and becoming a commercial pilot.