To dream that you are farting suggests that you are being passive aggressive. You need to express your feelings in a more direct manner.

To smell a fart in your dream implies that someone around you is not telling you how he or she really feels. He or she may be avoiding some topic instead of addressing it. Alternatively, the dream indicates that you are offended by someone in your waking life.