Render Distance?

Hi im making a free world survival game with a really big terrain, and when i play the game it seems to lag a lot, i was wondering if there is a possible script or built in feature in unity to only render the terrain around you for a certain distance? Somewhat like the feature in minecraft where there is the render distance option, making it so you only see whats around you and not rendering the rest of the terrain
possibly making it so the game does not lag as much

sorry if this sounds overly complicated
Thanks

It’s called the far clipping plane, and it’s a property of the camera you can adjust in the inspector.