These are commonly used internet expressions used to show certain emotions. Instead of explaining how they feel, people will use an expression to represent it. This is also used for emotions that you may feel is something that can only be shown.
:-D This would display happinness.
:( This would display sadness.
:P This would display a number of things.