How do Nitroglycerine and Nitrates work?

How do Nitroglycerine and Nitrates work?

12524322_728402477260434_929611943889722813_n