What happens when I sell my property for more than its depreciated value?

What happens when I sell my property for more than its depreciated value? I know this is basic r.e., but I am fuzzy.