Compulsions may be carried out in an attempt to neutralize the obsessive thoughts, providing temporary relief from the anxiety the obsessions cause.