Basically, content marketing is a subset of inbound marketing. Since content is the soul of inbound strategy, content marketing is its part that includes optimizing content (creation and distribution on different channels). Inbound marketing is to attract visitors with content, engage them constantly by turning them into customers, and finally delight them with long-term assistance and relationship (turning them into promoters).