What is the purpose of using a long-focus lens and a short-focus eyepiece in the optical system of a telescope?

The eyepiece is used as a magnifying glass, increasing the angle of view on the image of distant stars, which is obtained in a long-focus lens.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.