Muscle Knots

Hi All this is my first post at the boards so I hope I put it in the right place, spelled correctly and used proper grammar.
Question: What exactly are the knots you get it your muscles? How does rubbing them get them out?