A jam nut is a low profile type of nut, typically half as tall as a standard nut. It is commonly used as a type of locknut, where it is "jammed" up against a standard nut to lock the two in place. It is also used in situations where a standard nut would not fit.
A jam nut can also refer to any nut that is used in the same function.
A jam nut is often used when a nut needs to be locked in place without clamping against another object. The jam nut essentially acts as the "other object", as the two nuts are tightened against each other. They can also be used to secure an item on a fastener without applying force to that object. This is achieved by first tightening one of the nuts onto the item. Then the other nut is screwed down on top of the first nut. The inner nut is then slackened back and tightened against the outer nut.
Jam nuts can be unreliable under significant loads. If the inner nut is torqued more than the outer nut, the outer nut may yield. If the outer nut is torqued more than the inner nut, the inner nut may loosen up.