You can look up 'subplots' and how to use them but generally, a story has the main arc (the big plot, your biggest point/goal yada yada), while subplots are there to add depth, detail, and tension to everything from the characters to the whole story. It's not necessarily 'secondary' but it can...