Why was whaling so big in the 19th century?

For centuries, we plundered the ocean’s depths, hauling up whales by the thousands. But what was the purpose of this dangerous and destructive industry?

Source: https://www.livescience.com/why-whaling-nineteeth-century.html