What are the pillars of fasting?
The pillars of fasting are intention and abstaining from all nullifiers of fasting from dawn to sunset.
What is the ruling on someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.
What is the ruling on swimming while fasting?
Swimming while fasting is disliked (makruh) due to the risk of water entering the body cavity (jauf) through the nose, ears, or mouth, which would break the fast.
Ramadan is a month of tasbeeh (glorifying Allah), not Sibaha (swimming).
What is the ruling on taking a medication tablet sublingually during the daytime in Ramadan?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Taking a medication tablet sublingually (under the tongue) during the daytime in Ramadan does not invalidate the fast, since it does not reach the internal cavity (al-jawf) through an open passage.
However, if the tablet dissolves and any part of it is swallowed, then the fast is broken.
And Allah, the Exalted, knows best.