A sonnet is a 14-line poem that rhymes in a pattern:
A - B - A - B - C - D - C - D - E - F - E - F - G - G
If the poem you're talking about meets these criteria, it is then classified as a sonnet.
When I went shopping. I bought a pair of running shoes, a red shirt, and blue shorts.