If you buy a share on 1 June and sell it on 1 December, your holding period is six months. The period is counted separately for each purchase.
The holding period matters for tax: whether a gain is short term or long term depends on it, and the two are taxed differently. The cut-offs and rates are set by law and change, so check the current rules.
Related terms: Capital gains, ITR.