In Illustrator, there is a paint bucket tool that is used to fill a path with a color. To use the paint bucket tool, first select the path that you want to fill with color. Next, click on the paint bucket tool in the toolbar.
In the options bar, select the color that you want to use for the fill. Finally, click on the path that you want to fill with the color.