Help understanding elevation gain
So I have been riding for bout 3 years consistantly and thought I might try riding an event. I have been reading about different events and noticed that they always have something saying elevation gain. I am aware that this is used as an indicator of how much climbing is involved but lack the understanding of the specifics of what elevation gain is. Any and all info pertaining to elevation gain is appreciated; please help demistify this subject for me.