I wanted to know what is the basic difference between a GPX track and route file
A route is a sequence of waypoints, its the plan for your navigation. A track is the recorded path you did actually follow while trying to implement the plan (the route).
As GPX files a different XML schema is used for routes and tracks. Here are examples: http://cycleseven.org/gps-waypoints-routes-and-tracks-the-difference