Connection logs

Hi, I thought I'd sit and read my Network Security book and I have a question concerning connection logs. Does pf keep a table of current/on-going connections both in and outbound?

I'm also wondering about flags on the packets, can anyone point me to a more indepth faq on pf....

tia :)