The purpose of a media server is to host various files (including photos and videos), where they can be accessible from other devices in the household. The main advantage is that you don't have to have a copy of the file(s) on every single device (only one copy).