nearby oasises and small lakes
how it gets water is from the roots that suck the water from the lake, swamp, river or any kind of big hole with water in it besides a pool.
It's roots.
The roots suck up minerals and water from the soil and help with photosynthesis.
Elephants eat with their long trunks and they mostly eat grass. If that doesn't help go search elephants on Google. XD hope that helps!