"A moment" is a short period of time. It's used to talk about something that doesn't take long. For example:
There's no specific number of seconds that "a moment" refers to. It can mean anywhere from 15 seconds to 5 minutes. You can also say "for a second":
Can I have your attention for just a second?