PPPoE service (default profile) vs Secret (profile)

hi all, im a bit confuse, why do we need a profile set on PPPoE service if our Secrets do have profile also,talking about the Rate limit on profile, i also tested that if both do have profile set, the profile set on Secrets will be used for Rate limit.