KetoSaiba gave the most thorough explanation, it's not super simple concept where this is A and this is B, but if I had to sum it up in a simple manner I would say that "attacking play" is when you go and attack your opponent's king and try to go for checkmate in the middle game. This can be done in more than way, for example, tactics with sacrifices, pawn storms, etc...)
Whereas positional play is when you play more solid, slowly improving your position, controlling more space and more squares and squeezing your opponent until you can win a pawn and then grind an endgame to promote that pawn to a queen and win an endgame.
Now keep in mind this is an overly simplified explanation so you can grasp the basics of what it is... but that is not necessarily how it happens, they're interchangeable, sometimes you're playing positionally, very solid and slowly building up your position and your opponent plays a move that allows you to initiate an attack
As some master said some 100 years ago "tactics flow from a superior position"
Is it just me, or can you be a positional, attacking player? Alphazero demonstrated this in 2017 or something when he demolished Stockfish