How does this work?

Darn (except not that word) me and my curiosity. How does this work exactly ? It was written by TheCanadian.

mc.[COLOR=#0000ff]onEnterFrame[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#000000]var[/COLOR] theta:[COLOR=#0000ff]Number[/COLOR] = [COLOR=#0000ff]Math[/COLOR].[COLOR=#0000ff]atan2[/COLOR][COLOR=#000000]([/COLOR][COLOR=#0000ff]_ymouse[/COLOR] - [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]_y[/COLOR], [COLOR=#0000ff]_xmouse[/COLOR] - [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]_x[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]_rotation[/COLOR] = theta * [COLOR=#000080]180[/COLOR] / [COLOR=#0000ff]Math[/COLOR].[COLOR=#0000ff]PI[/COLOR];
[COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]_x[/COLOR] += [COLOR=#0000ff]Math[/COLOR].[COLOR=#0000ff]cos[/COLOR]COLOR=#000000[/COLOR] * [COLOR=#000080]3[/COLOR];
[COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]_y[/COLOR] += [COLOR=#0000ff]Math[/COLOR].[COLOR=#0000ff]sin[/COLOR]COLOR=#000000[/COLOR] * [COLOR=#000080]3[/COLOR];
[COLOR=#000000]}[/COLOR];

I understand that it gets the angle from the mouse coordinates, but what about the rest? Why does it multiply by 180? And does all of this have something to do with radius’ and diameters because of the Math.PI? So many questions, so much time…