A sweater is a clothing item that covers the upper part of the body, typically made of wool or cotton.…