The major difference between Onload and Refresh events

Hello Team,

Anyone can help me to find the major difference between form onload and refresh event ?

I think refresh just refreshes the data in the page without reloading the html that created the page & onload renders both UI and Data again.