Sweating when you're hot or shivering when you're cold is your body's way of trying to keep your temperature the same.
(you; 're; hot) (you; 're; cold) (Sweating when you're hot or shivering; is; your body's way of trying to keep your temperature the same)
you you Sweating when you're hot or shivering
're 're is
hot
cold
your body's way of trying to keep your temperature the same