the mountain山 means “mountain,” and を marks it as the object of the verb. With verbs such as 登る, 山を means climbing or ascending the mountain. 山 can also mean a pile or heap, depending on context.
JA: 週末に家族と山を登ります。
EN: I’m climbing the mountain with my family this weekend.