Step 1: Meaning of Res Gestae.
Res Gestae means "things done." It includes statements/events that are part of the same transaction and thus admissible as evidence.
Step 2: Section 6 Evidence Act.
Section 6 incorporates this doctrine, allowing facts connected to the same transaction to be relevant, even if they occur at different times and places.
Step 3: Conclusion.
Hence, Section 6 is based on Res Gestae.