An invention patent is to protect a technology or method. For example, others use water washing, but you invented dry cleaning technology, which has good effect and low cost. You can apply for an invention patent for this method and technology.
For example, the washing machine you invented, according to your technical point, if you want to protect your product, apply for a utility model patent, if you want to protect the technology, then apply for an invention patent.