Can I travel in and out of the US while on a student visa?

Can I travel in and out of the US while on a student visa?