3rd party apps would be anything from forums to galleries to content management systems
how they work? usually they are written in php, asp, aspx or some other language that is read by the web server which then outputs html code that is interpreted by your web browser to display the page