How can hydrogen be used as fuel for cars?

it can be used by not polluting the air and it is a safe gas for cars and the environment