Khloe Kardashian has been hitting the gym hard lately, and she attributes her workouts to her split from estranged husband Lamar Odom. The two still aren’t legally divorced, even years after separating, but Kardashian, 30, has honed a killer body out of the deal.

The reality star appears on the cover of Cosmopolitan Body magazine, where in an article she dishes about her relationship with the former Los Angeles Laker star and talks about body image. "When me and Lamar were having issues, I decided to channel my energy into working out. … If I went out with my girlfriends I would be hounded by paparazzi and made to feel more humiliated. The gym was my only refuge. I could put music on and dance around with my girlfriends and be silly,” she told the mag, according to celebrity blogger Perez Hilton.

The star doesn’t have anything against plastic surgery, but it isn’t for her. "I'm not against plastic surgery -- if you want to do a tweak, I'm all for it, but you have to love yourself first because no surgery is going to change your heart. It would have been such an easy solution to get liposuction or whatever, but you have to be healthy to maintain that. I've always felt like, 'Wouldn't it be great to accomplish that on your own?' "

Her famous sisters, especially Kylie Jenner, have come under fire for allegedly resorting to plastic surgery. Many have also speculated that Kim gets fat injections to help make her derriere extra-voluptuous. Kardashian, however, has not come under fire for such rumors.

Instead, she regularly posts Instagram updates about her gym workouts. “Sweat is fat crying!! Yes!!!!!” she captioned her most recent gym picture, which shows her entering the gym. More than 752,000 of her 20.8 million followers liked the image.

Follow me on Twitter @mariamzzarella