Yes, a dehumidifier is a very useful device to have for your garage.
The main reason you should consider investing in a dehumidifier is to deal with any humidity-related issues you might have in the garage, just as the growth of mold.
Having a dehumidifier in the garage will regulate the moisture level in the air, and prevent your tools from rusting, mold from developing, and any wood from rotting.