You don’t necessarily need a filter. Many smaller fountains are run with just a submersible pump and when the water gets dirty or cloudy, the water is drained and refilled. While this might be ok for small basins of water but it is not really practical for larger basins where the volume of water is more significant. Using a filter allows you to extend the interval between water changes and is a more practical way to keep the fountain maintained.