There's no shortage of operating systems you can try on a Raspberry Pi. These include general-purpose distros like Ubuntu and Fedora that are ideal for desktop and server use, as well as more niche ...
The Pi 5 used to be the obvious choice for a lightweight Linux box. It no longer is.