Its the act of inserting something up your anus such as chips, fingers, beer bottle, dildo, you name it.
Sodomy refers to sexual acts that are considered nontraditional or deviant, particularly anal or oral sex. In some legal contexts, sodomy refers to any sexual activity deemed unnatural or criminal.