A fish can be a good pet for small spaces as they require minimal room and maintenance compared to other pets like dogs or cats. Another option could be a small rodent like a hamster or a gerbil, as they also do not require a lot of space and are relatively low maintenance.