In most cases, such dreams suggest that you are going over old issues or relationship patterns, and that your dreaming mind is using such images to help you heal and move on to a more positive future.
This need not necessarily be of a sexual nature, but could also be emotional.
Intercourse or petting The wish or need to be able to communicate with someone on a very intimate level can translate itself into intercourse in a dream.