In Vedic timekeeping, a tithi is a "duration of two faces of moon that is observed from earth", known as milа̄lyа̄ in Nepal Bhasa, or the time it takes for the longitudinal angle between the Moon and the Sun to increase by 12°. In other words, a tithi is a time duration between the consecutive epochs that correspond to when the longitudinal angle between the Sun and the Moon is an integer multiple of 12°. Tithis begin at varying times of day and vary in duration approximately from 19 to 26 hours. Every day of a lunar month is called tithi.
image to understand the calculation of tithi
Nakshatra is the term for lunar mansion in Hindu astrology. A nakshatra is one of 27 sectors along the ecliptic. Their names are related to a prominent star or asterisms in or near the respective sectors. In essence, a nakshatra simply is a constellation. Every nakshatra is divided into four padas related to the Char Dham, a set of four pilgrimage sites in India.
Nakshatras in a circle
Positions of the Nakshatras on the celestial sphere