Can someone explain how basis trade works

I’m reading an article about basis trades and I’m a bit confused about basis trade. Basis trade is defined as “a financial trading strategy which consists of the purchase of a particular financial instrument or commodity and the sale of its related derivative (for example the purchase of a particular bond and the sale of a related futures contract)”

So, let’s imagine I go long Apple stock and short Apple futures, have I entered into a basis trade?