I did heavy use of jquery on my php project. But on some page the $ is not working, so I have to use jquery. For example:
$
jQuery(\'#mycarousel\'
$ is just a variable that is used to alias jQuery and it is a varible so anything could be assigned to it.
jQuery
You can get detailed information related to it from its Documentation