"Type" vs. "category": what's the difference?

What is similar?
Both "type" and "category" are used to classify or group things based on shared characteristics or features. They often refer to a subset within a larger whole.
What is different?
The word "type" typically emphasizes the specific kind or nature of something, often focusing on its form or composition. "Category" tends to highlight a broader, organized grouping based on general attributes, often used in systematic or hierarchical classifications.
Which one is more common?

Examples of usage
Type- What type of phone do you use?
- I prefer this type of cuisine when dining out.
- This type of problem requires a creative solution.
- Books are sorted into different categories in the library.
- This category of software is designed for professionals.
- Her work defies any single artistic category.